﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlyWeightPattern
{
    public class Circle : Shape
    {
        private int X;
        private int Y;
        private int Radius;
        private string Color;

        public Circle(string color)
        {
            this.Color = color;
        }

        public void SetX(int x)
        {
            this.X = x;
        }

        public void SetY(int y)
        {
            this.Y = y;
        }

        public void SetRadius(int radius)
        {
            this.Radius = radius;
        }

        public void Draw()
        {
            Console.WriteLine("Circle: Draw() [Color : " + Color
                + ", x : " + X + ", y :" + Y + ", radius :" + Radius);
        }
    }
}
